package com.bamboocloud.im.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Auther xuwen
 * @Date 2021/12/8 18:11
 * @Version 1.0
 */
@AllArgsConstructor
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class Dept implements Serializable {
    private Long deptno;//主键
    private String dname;
    private String db_source;//查询的数据在哪个数据库

    public Dept(String dname) {
        this.dname = dname;
    }

    public Dept(String dname, String db_source) {
        this.dname = dname;
        this.db_source = db_source;
    }
}
